package com.online_video.entity;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 黄金星
 * @Date: 2022/03/24/下午8:27
 * @Description:
 */
public class History {
    private Integer id;
    //视频id
    private Integer vid;
    //用户id
    private Integer u_id;
    //播放时长
    private String playTime;
    //播放日期
    private String date;

    @Override
    public String toString() {
        return "History{" +
                "id=" + id +
                ", vid=" + vid +
                ", U_id=" + u_id +
                ", playTime='" + playTime + '\'' +
                ", date='" + date + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public String getPlayTime() {
        return playTime;
    }

    public void setPlayTime(String playTime) {
        this.playTime = playTime;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public History(Integer id, Integer vid, Integer u_id, String playTime, String date) {
        this.id = id;
        this.vid = vid;
        this.u_id = u_id;
        this.playTime = playTime;
        this.date = date;
    }

    public History() {
    }
}
